package com.yuma.springshiroredisthymeleaf.exception;

import lombok.Data;

@Data
public class GoodsException extends RuntimeException{
    private String code;
    private String msg;

    public GoodsException() {
    }
    public GoodsException(String msg) {
        this.msg = msg;
    }
    public GoodsException(String code, String message) {
        super(message);
        this.code = code;
        this.msg = message;
    }
}